package com.baizhi.controller;

import com.baizhi.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

@Controller
public class LogController {
    @Autowired
    private LogService logService;

    //查询日志信息
    @ResponseBody
    @RequestMapping("selectAllLog")
    public Map selectAllLog(Integer page,Integer limit){
        Map map = logService.selectAllLog(page, limit);
        return map;
    }


}
